﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Macad.Interaction;
using Macad.Interaction.Panels;
using Macad.Presentation;
using SpCad.Window;

namespace SpCad.Commands
{
    public class Commands
    {
        #region DocumentCommand
       
            public RelayCommand CreateNewModel => DocumentCommands.CreateNewModel;
            public RelayCommand SaveModel => DocumentCommands.SaveModel;
            public RelayCommand SaveModelAs => DocumentCommands.SaveModelAs;

            public RelayCommand SaveAll => DocumentCommands.SaveAll;
            public RelayCommand OpenModelFrom => DocumentCommands.OpenModelFrom;
            public RelayCommand<string> OpenFile => DocumentCommands.OpenFile;
            public RelayCommand<string> OpenRecentFile => DocumentCommands.OpenRecentFile;
            public RelayCommand<DocumentFilterFlags> ToggleFilterFlag => DocumentCommands.ToggleFilterFlag;

        #endregion
        #region AppCommand
        /// <summary>
        /// 退出程序
        /// </summary>
        public RelayCommand ExitApplication=>AppCommands.ExitApplication;
        public RelayCommand InitApplication=>AppCommands.InitApplication;
        #endregion
    }

}
